package com.xxx.user.mapper;

import com.xxx.user.domain.User;
import com.xxx.user.query.UserQuery;

import java.util.List;


public interface UserMapper {

    List<User> findAll();

    User findOne(long id);

    List<User> queryPage(UserQuery userQuery);

    void addUser(User user);

    void updateUser(User user);

    void deleteUser(long id);

    void batchUsers(long[] ids);
}
